package Test;

import java.util.Date;

import model.AppointmentList;

import database.Database;

public class Utskriftsskjekk {
	public static void main(String[] args) {
		Database db = new Database();
		db.connectToDatabase();
		int antall = db.getNumberOfUsers();
		int[] liste = db.getUserIds();
		System.out.println(antall);
		for(int i=0; i<antall; i++){
			System.out.println(liste[i]);
		}
		Date start = new Date(111, 04, 07);
		Date end = new Date(111, 04, 14);
		AppointmentList apl = new AppointmentList(2, start);
		apl.load();
		
	}

}
